﻿using MaterialDesignThemes.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using 基于WPF的电缆采样数据分析系统.ViewModels;

namespace 基于WPF的电缆采样数据分析系统.Views
{
    /// <summary>
    /// TDRWorkUC.xaml 的交互逻辑
    /// </summary>
    public partial class TDRWorkUC : UserControl
    {
        public TDRWorkUC()
        {
            InitializeComponent();
            var viewModel = this.DataContext;
        }

        /// <summary>
        /// 窗口大小改变
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void UserControl_SizeChanged(object sender, SizeChangedEventArgs e)
        {
            //TDRWorkUCViewModel.instance.LeftTaskPageWidth = (float)(TDRWork.ActualWidth * 0.15);
            //TDRWorkUCViewModel.instance.BottomMenuPageHeight = (float)(TDRWork.ActualHeight * 0.3);

        }

    }
}
